package cn.silver.framework.mybatis.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author zhouxiaobo
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "TreeParam", title = "树对象查询条件")
public class TreeParam extends BusParam implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(title = "上级节点")
    private String pid;

    @Schema(title = "是否展开")
    private Boolean expand;

}
